博客
关于我
asp.net代码练习 work016 fileupload文件上传
阅读量:312 次
发布时间:2019-03-03

本文共 743 字,大约阅读时间需要 2 分钟。

????????

?? ASP.NET ??????????????????????????????????

????????

????????? ASP.NET ?????????????????????????????????????????????????

????????

???????????????????

  • ?????????
  • ?????????
  • ????????????????
  • ??????????
  • ??????
  • ??????????

    ???????????? MappedPath ??????????

    string savePath = Server.MapPath("~/upload");if (!System.IO.Directory.Exists(savePath)){    System.IO.Directory.CreateDirectory(savePath);}savePath = savePath + string.Format("\\{0}", FileUpload1.FileName);FileUpload1.SaveAs(savePath);

    ????????

    ?????????????? Web.config ?????????????????????????

    ????

    ????????????????????????????????????????????????

    ????

  • ? WebForm1.aspx ??? FileUpload ??
  • ?? OnClick ????
  • ????????????
  • ? Literal1 ?????????
  • ?????????????????????????????????????????

    转载地址:http://firm.baihongyu.com/

    你可能感兴趣的文章
    Netty源码解读
    查看>>
    Netty的Socket编程详解-搭建服务端与客户端并进行数据传输
    查看>>
    Netty相关
    查看>>
    Network Dissection:Quantifying Interpretability of Deep Visual Representations(深层视觉表征的量化解释)
    查看>>
    Network Sniffer and Connection Analyzer
    查看>>
    Net与Flex入门
    查看>>
    net包之IPConn
    查看>>
    NFinal学习笔记 02—NFinalBuild
    查看>>
    NFS共享文件系统搭建
    查看>>
    nfs复习
    查看>>
    NFS网络文件系统
    查看>>
    ng 指令的自定义、使用
    查看>>
    nginx + etcd 动态负载均衡实践(二)—— 组件安装
    查看>>
    nginx + etcd 动态负载均衡实践(四)—— 基于confd实现
    查看>>
    Nginx + uWSGI + Flask + Vhost
    查看>>
    Nginx - Header详解
    查看>>
    Nginx Location配置总结
    查看>>
    Nginx upstream性能优化
    查看>>
    Nginx 中解决跨域问题
    查看>>
    Nginx 动静分离与负载均衡的实现
    查看>>